[Samba] Join to Linux domain

Mohsen Pahlevanzadeh mohsen at pahlevanzadeh.org
Sun Jun 28 06:47:23 GMT 2009


Dear all, 
I create a PDC.
But when i use :
join rpc join mylove.com -U mohsen -I 127.0.0.1
i get following error:
debian:/home/mohsen# net rpc join mylove.com -U mohsen -I 127.0.0.1
Enter mohsen's password:
[2009/06/28 11:12:31,  0]
utils/net_rpc_join.c:net_rpc_join_newstyle(259)
  could not open domain: NT_STATUS_ACCESS_DENIED
Unable to join domain WORKGROUP.

My /etc/samba/smb.conf is :
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[global]
   netbios name = debian
   server string = Test for port
   os level = 65
   domain master = yes
   local master = yes
   domain logons = yes
   prefered master = yes
   include = /etc/samba/dhcp.conf
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   security = user
   encrypt passwords = true
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*
\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
[homes]
   comment = Home Directories
   browseable = no
   read only = yes
   create mask = 0700
   directory mask = 0700
   valid users = %S
[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
[cdrom]
   comment = Enjoy ....
   read only = no
   path = /share
[sh]
   comment = Enjoy ....
   read only = yes
   path = /share
   browseable = yes 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Please help me.......




More information about the samba mailing list