Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
Connecting SMS to a Windows Domain?
View previous topic :: View next topic  
Author Message
cisco7200
Junior Member


Joined: 05 Jun 2008
Posts: 13

PostPosted: Tue Jan 27, 2009 9:25 pm    Post subject: Connecting SMS to a Windows Domain? Reply with quote

How do i connect SMS to a windows domain. I tried to do it in SAMBA but it tells me the following error.

Binding to domain with command /usr/bin/net join -U Administrator -S the\-spider\-web\.local ..

cannot join as standalone machine

.. failed! See the output above for the reason why.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Wed Jan 28, 2009 7:50 am    Post subject: Reply with quote

Have you changed your smb.conf to security=domain?

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
cisco7200
Junior Member


Joined: 05 Jun 2008
Posts: 13

PostPosted: Thu Jan 29, 2009 10:06 pm    Post subject: Reply with quote

Here is what it says:

[global]
workgroup = THE-SPIDER-WEB.LOCAL
server string = FTP-Server
security = DOMAIN
log file = /var/log/samba.%m
max log size = 50
acl compatibility = winnt
server signing = auto
local master = No
domain master = No
ldap ssl = no
guest ok = Yes

[Samba @ SMS]
path = /var/smb/samba/
read only = No

[FAXES]
path = /var/spool/hylafax/recvq/
read only = No

[TorrentFlux Downloads]
path = /var/smb/tflux_downloads/
read only = No

I can't see this SMS server from network neighborhood on my other machines but they see each other just fine.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Fri Jan 30, 2009 6:33 am    Post subject: Reply with quote

Have your try accessing it directly from an windows machine like '\\IP_ofserver' or '\\hostname'?

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
cisco7200
Junior Member


Joined: 05 Jun 2008
Posts: 13

PostPosted: Thu Feb 05, 2009 12:52 am    Post subject: Reply with quote

What is the procedure for connecting an SMS server to a Windows Domain?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Fri Feb 06, 2009 8:27 am    Post subject: Reply with quote

I found little time and install a windows server2008 to see what's wrong.
here what I used for smb.conf
Code:
        log file = /var/log/samba.%m
        restrict anonymous = no
        ldap ssl = No
        guest ok = yes
        domain master = no
        encrypt passwords = yes
        public = yes
        netbios name = sms
        server string = SMS Samba Server
        max protocol = NT1
        password server = [Your hostname of you windows server]
        workgroup = [your workgroup or DOMAIN]
        acl compatibility = winnt
        os level = 20
        server signing = Auto
        security = domain
        max log size = 50
        idmap uid = 10000-15000
        idmap gid = 10000-15000

change /etc/nsswitch.conf (it 'll work without it though)
to match
Code:
 passwd:        files nis winbind
 shadow:        files nis winbind
 group:         files nis winbind

Now do
Code:
net rpc getsid -S DOMAIN -I IP_OF_WIN_SERVER -U Administrator%password

trying
'net rpc testjoin' might outputs errors
try to join with
'net rpc join -U User'
usefull commands are
wbinfo -t
wbinfo -u
once you join the domain users can have access to your Samba shares.
Users not in domain will have to login as users in windows server ADS.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional