[Samba] net join problems

2009-07-16 Thread CJ Keist


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 = 1
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?


--
C. J. Keist Email: cj.ke...@colostate.edu
UNIX/Network ManagerPhone: 970-491-0630
Engineering Network ServicesFax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] net join problems

2009-07-16 Thread Herb Lewis

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=ipaddraddress of target server
-w or --workgroup=wgtarget 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 = 1
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?



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] net join problems

2009-07-16 Thread CJ Keist


John,
   Thanks that was it!!

John H Terpstra - Samba Team wrote:

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. 


Yes - a small change.  Just use:

net rpc join -S servername -W domain_name -U username

Note: The change is the specification of the join method rpc.

- John T.


--
C. J. Keist Email: cj.ke...@colostate.edu
UNIX/Network ManagerPhone: 970-491-0630
Engineering Network ServicesFax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba