Thread: Change computer name field property to the mounted computer name
my setup: ubuntu box shares windows machines using samba. integrated , made ubuntu box member of windows 2008 domain using winbind , pam when connect windows computer domain users takes ownership instead of linux users. want change computer name property/attribute computer name mounted shared directory , created sub-directories , files. example, if windows computer named winpc created file in ubuntu box, computer name field should not named under ubuntu box winpc. can done through smb.conf parameters, scripts in ubuntu side, or windows registry? smb.conf below
#global parameters
[global]
workgroup = arch
realm = arch.local
netbios name = archproj
password server = 192.168.1.40
preferred master = no
server string = %h server (samba %v, ubuntu)
encrypt passwords = true
enable privileges = yes
dns proxy = no
log level = 3
log file = /var/log/samba/%m
max log size = 50
security = ads
printcap name = cups
printing = cups
winbind enum users = yes
winbind enum groups = yes
#winbind nested groups = yes
winbind separator = +
idmap uid = 600-20000
idmap gid = 600-20000
;template primary group = "domain users"
template homedir = /home/%d/%u
template shell = /bin/bash
[workspace]
comment = home direcotries
path = /home/arch/administrator/workspace
valid users = @"arch+domain users"
read = no
browseable = yes
writable = yes
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Change computer name field property to the mounted computer name
Ubuntu
Comments
Post a Comment