Posts Tagged ‘Samba’

How can change user password in windows when using samba as domain controller?

This item was filled under [ Linux Samba ]

1. /etc/samba/smb.conf pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Please*retype*new*password* %n\n *password*successfully*updated* passwd chat debug = Yesunix password sync = Yes 2. /etc/pam.d/passwd #%PAM-1.0 auth include system-auth account include system-auth password include system-auth password required pam_unix.so nullok obscure min=4 max=8 md5 password sufficient pam_smbpass.so audit use_first_pass 3. [...]

Continue reading...

Tagged with: [ , ]

Samba Recycle Function

This item was filled under [ Linux Samba ]

/etc/samba/smb.conf vfs object = recycle recycle:versions = True recycle:keepdate = True recycle:repository = .recycle/%U

Continue reading...

Tagged with: [ , ]

Samba Audit Log

This item was filled under [ Linux Samba ]

/etc/samba/smb.conf vfs objects = full_audit full_audit:priority = ALERT full_audit:facility = LOCAL5 full_audit:failure = none full_audit:success = open mkdir rmdir rename unlink full_audit:prefix = %u /etc/syslog.conf #Added for samba audit local5.* /var/log/samba_audit/samba_audit.log

Continue reading...

Tagged with: [ ]

smbd audit installation in samba 3.0.26a

This item was filled under [ Application Installation, Linux Samba ]

1. Download smb-audit package from http://smbdaudit.sourceforge.net2. tar -zxvf smb-audit.tar.gz 3.smb.conf vfs object = mysql_auditmysql_audit:success = open opendirmysql_audit:failure = all mysql1. Create user/database. Replace ‘smbd001′ with your password. 1.1 MySQL. Under root or other mysqlpowered user give the following command: mysqladmin -p create smbd and using mysql cli or any GUI admin: GRANT ALL ON smbd.* [...]

Continue reading...

Tagged with: [ , , , , , ]