[Samba] net join problems

Herb Lewis hlewis at panasas.com
Thu Jul 16 16:12:56 MDT 2009


try typing "net help". From a samba 3.2.8 system the following partial
output shows

Valid targets: choose one (none defaults to localhost)
	-S or --server=<server>		server name
	-I or --ipaddress=<ipaddr>	address of target server
	-w or --workgroup=<wg>		target workgroup or domain



CJ Keist wrote:
> 
> My last install of Samba was 3.2.2 on Solaris 10 Sparc platform.  Had no 
> problems.  I'm now trying to install 3.4.0 on Solaris 10 x86 platform. 
> With 3.2.2 I would join our Windows domain as such:
> 
> net join -S servername -w DOMAIN_NAME -U username
> 
> All worked fine. Now with 3.4.0 I'm getting usage error trying to do the 
> same thing. Here is my config:
> 
> # ./testparm
> Load smb config files from /opt/samba-3.4.0/lib/smb.conf
> Processing section "[homes]"
> Processing section "[students]"
> Processing section "[student_orgs]"
> Processing section "[homes]"
> Loaded services file OK.
> Server role: ROLE_DOMAIN_MEMBER
> Press enter to see a dump of your service definitions
> 
> [global]
>         workgroup = MY_DOM
>         server string = Samba Server
>         security = DOMAIN
>         password level = 8
>         lanman auth = Yes
>         client NTLMv2 auth = Yes
>         map untrusted to domain = Yes
>         log level = 1
>         log file = /var/log/samba/logs/log.%m
>         max log size = 50
>         deadtime = 10
>         max open files = 10000
>         socket options = TCP_NODELAY IPTOS_LOWDELAY
>         load printers = No
>         preferred master = Auto
>         dns proxy = No
>         wins server = xxx.xxx.xxx.xxx
>         kernel oplocks = No
>         lock spin time = 3
>         remote announce = xxx.xxx.xxx.xxx
>         acl group control = Yes
>         oplocks = No
>         strict locking = No
> 
> [homes]
>         comment = Home Directories
>         read only = No
>         create mask = 0640
>         directory mask = 0751
>         inherit permissions = Yes
>         inherit owner = Yes
>         level2 oplocks = No
> 
> [students]
>         comment = Students home dirs
>         path = /data/students
>         read only = No
>         create mask = 0770
>         directory mask = 02770
>         inherit owner = Yes
>         level2 oplocks = No
> 
> [student_orgs]
>         comment = Student Orgs space
>         path = /data/student_orgs
>         read only = No
>         create mask = 0770
>         directory mask = 02770
>         inherit permissions = Yes
>         inherit acls = Yes
>         level2 oplocks = No
> 
> Has something changed with net join?
> 
> 


More information about the samba mailing list