[Samba] Roaming Profile problem

mallapadi niranjan niranjan.ashok at gmail.com
Thu May 18 09:35:51 GMT 2006


hi all

i have a samba 3.0.21c with openldap as PDC on Subnet 192.168.129.0, and BDC
with slave ldap
server on subnet 192.168.130.0 subnet (netbios name fosrv001),
 we have a group of users for whom i would like to have
roaming profile enabled. the profile share is in BDC ie
192.168.130.0subnet. But for users' for
whom i have enabled roaming profile are unable to get roaming profile, ie in
profile share, the desktop,
application data, etc are not getting saved in profile share.
the remote profiles share can be accessed without any problem, from any
subnet,

if the profile share is in another subnet, and if the user is different
subnet, will the roaming
profile share work for the user. ?


The following is the bdc samba smb.conf
################################################################################
[global]
 unix charset = LOCALE
  workgroup = msdpl.com
  netbios name = fosrv001
  passdb backend = ldapsam:ldap://192.168.130.3
  enable privileges = Yes
  server string = Factory Backup Domain Controller
  log level = 1
  remote announce = 192.168.129.20
  remote browse sync = 192.168.129.20
  hosts allow = 192.168.129. 192.168.128. 192.168.130. 127.
  syslog = 0
  log file = /usr/local/samba-fo/var/%U.%m.log
  max log size = 100
  smb ports = 139
  printcap name = cups
  show add printer wizard = no
  logon script = %u.bat
  logon path =
  logon drive = X:
  logon home =
  domain logons = yes
  wins support = No
  domain master = No
  preferred master = yes
  hide unreadable = yes
  deadtime = 15
  wins support = no
  wins server = 192.168.129.20
  ldap passwd sync = yes
  add user script = /usr/local/sbin/smbldap-useradd -m "%u"
  delete user script = /usr/local/sbin/smbldap-userdel "%u"
  add machine script = /usr/local/sbin/smbldap-useradd -w "%m"
  add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
  add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
  delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u"
"%g"
  set primary group script = /usr/local/sbin/smbldap-usermod -g '%g' '%u'
  ldap delete dn = Yes
  name resolve order = lmhosts wins bcast hosts
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  #interfaces = eth0, lo
  #bind interfaces only = yes
  hide dot files = yes
  dns proxy = no
  nt acl support = yes
  ldap passwd sync = yes
  ldap suffix = dc=msdpl,dc=com
  ldap admin dn = cn=foreplica,dc=msdpl,dc=com
  ldap group suffix = ou=Groups
  ldap user suffix = ou=People
  ldap machine suffix = ou=Computers
  ldap idmap suffix = ou=Idmap
  ldap ssl = no
  ldap timeout = 50
  idmap backend = ldap:ldap://192.168.130.3
  idmap uid = 10000-20000
  idmap gid = 10000-20000
  map acl inherit = yes
  printing = cups
[homes]
   comment = Home Directories
   valid users = %S
   browseable = no
   read only = no
   nt acl support = Yes

# Un-comment the following and create the netlogon directory for Domain
Logons
 [netlogon]
   comment = Network Logon Service
   path = /netlogon/scripts
   guest ok = yes
   browseable = no
   write list = root
#Profiles Share
 [profiles]
    comment = Profiles Share
    path = /profiles/%U
    #read only = No
    browseable = yes
    writeable = yes
    public = yes
###########################################################[homes]
   comment = Home Directories
   valid users = %S
   browseable = no
   read only = no
   nt acl support = Yes

# Un-comment the following and create the netlogon directory for Domain
Logons
 [netlogon]
   comment = Network Logon Service
   path = /netlogon/scripts
   guest ok = yes
   browseable = no
   write list = root
#Profiles Share
 [profiles]
    comment = Profiles Share
    path = /profiles/%U
    #read only = No
    browseable = yes
    writeable = yes
    public = yes
################################################################################

Regards
Niranjan


More information about the samba mailing list