Changeset 11608
- Timestamp:
- 11/10/08 14:30:31 (8 weeks ago)
- Location:
- trunk/client/samba
- Files:
-
- 3 modified
-
ChangeLog (modified) (1 diff)
-
conf/80samba.conf (modified) (1 diff)
-
src/EBox/SambaLdapUser.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/samba/ChangeLog
r11511 r11608 4 4 0.12.99 5 5 + New release 6 0.12.5 7 + Bugfix. Set loginShell when adding users. By default it takes /bin/false 8 but users can change it using /etc/ebox/80samba.conf 6 9 0.12.4 7 10 + Bugfix. Check and correct if there is a user or group with a wrong SID. -
trunk/client/samba/conf/80samba.conf
r11460 r11608 21 21 # enable quota support 22 22 enable_quota = yes 23 24 # default login shell for users 25 login_shell = /bin/false -
trunk/client/samba/src/EBox/SambaLdapUser.pm
r11460 r11608 49 49 use constant GECOS => 'Ebox file sharing user '; 50 50 use constant USERGROUP => 513; 51 use constant DEFAULT_SHELL => '/bin/false'; 51 52 # Home path for users and groups 52 53 use constant BASEPATH => '/home/samba'; … … 125 126 126 127 sambaAcctFlags => SMBACCTFLAGS, 128 129 loginShel => _loginShell(), 127 130 }; 128 131 … … 161 164 162 165 sambaSID => $sambaSID, 166 163 167 164 168 # gecos => GECOS … … 1309 1313 } 1310 1314 1315 sub _loginShell 1316 { 1317 my $shell = EBox::Config::configkey('login_shell'); 1318 1319 if (defined($shell)) { 1320 return $shell; 1321 } else { 1322 return DEFAULT_SHELL; 1323 } 1324 } 1311 1325 1;
