Displaying 2 results from an estimated 2 matches for "remoteusername".
2009 Jun 24
1
Linux local user problem when security = ADS
...ADS
 workgroup = DOMAINNAME
 realm = DOMAINNAME
 password server = DOMAINSERVERNAME
 username map = /etc/samba/smbusers
 winbind use default domain = yes
 winbind uid = 10000-20000
 winbind gid = 10000-20000
[SHARE]
 path = /share
 writable = yes
 browseable = no
 create mask = 0664
 valid users = remoteusername
________________________________
"/etc/samba/smbusers" on server:
localusername = remoteusername
________________________________
"mount" command on client:
mount -t cifs //MACHINE1/SHARE /share -o user=remoteusername
________________________________
If you need some more...
2009 Jan 28
1
Some help with sudo on remote side of rsync
...nc
OPTS=(-aAX --delete --archive --rsync-path=/usr/local/bin/rsync
--protect-args 
--fileflags --force-change --stats)
# Backup destination. In this case, it is another hard disk on the same
machine.
# If you wish to back up to a server via ssh, change the line to something
like
# 
BACKUPDIR="remoteusername@someserver.something:/path/to/backup/destination"
# BACKUPDIR in this script is on local machine, and is DESTINATION
# ignore Mac droppings
EXCLUDES=(--exclude .DS_Store --exclude .Trash --exclude Cache --exclude
Caches 
--exclude .TemporaryItems)
# Build the actual command
# NOTE the speci...