| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		cisco7200 Junior Member
 
  Joined: 05 Jun 2008 Posts: 13
 
  | 
		
			
				 Posted: Tue Jan 27, 2009 9:25 pm    Post subject: Connecting SMS to a Windows Domain? | 
				     | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Wed Jan 28, 2009 7:50 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Have you changed your smb.conf to security=domain?
 
 
gerasimos_h _________________ Superb! Mini Server Project Manager
 
http://sms.it-ccs.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		cisco7200 Junior Member
 
  Joined: 05 Jun 2008 Posts: 13
 
  | 
		
			
				 Posted: Thu Jan 29, 2009 10:06 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Fri Jan 30, 2009 6:33 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		cisco7200 Junior Member
 
  Joined: 05 Jun 2008 Posts: 13
 
  | 
		
			
				 Posted: Thu Feb 05, 2009 12:52 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| What is the procedure for connecting an SMS server to a Windows Domain? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		gerasimos_h Site Admin
 
  Joined: 09 Aug 2007 Posts: 1757 Location: Greece
  | 
		
			
				 Posted: Fri Feb 06, 2009 8:27 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				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 | 
		 | 
	
	
		 |