Displaying 20 results from an estimated 10000 matches similar to: "FreeBSD add user script syntax"
2006 Jul 07
0
A couple of share questions...
In my smb.conf (below)...
1.
I would like the ntadmins group to be able to see (and write to if
necessary) all defined shares. The way I've done this is to share the root
[export] of where I've put all my shares. Is that the easiest and
recommended way? As it stand, members of ntadmins can connect, but not
write to that location, and I think this is because /export is owned and
2005 Jun 30
1
Samba interface for administrative tools
Hi all,
I have tried to write management tools for samba, but it seems there's
no standard way provided by Samba to change its configuration or modify
users account other than direct modify the config file and or database
backend. This make many tools less portable because it depends on the
backend of samba.
There might be a windows rpc call (use by usrmgr.exe and svrmgr.exe), is
it the
2007 Mar 25
0
Samba NT Domain User/Group Confusion
I'm confused about how this works in Samba. Its been a while since I set
up a server and I've gotten myself confused.
The new server are Ubuntu AMD64 Linux with Samba 3.0.22 One of these is
the PDC. The legacy Servers are Solaris 8 running Samba 3.0.24. We are
using winbindd and local tdb files on the PDC for authentication. We
plan to migrate to LDAP latter. I have used SWAT to
2000 Jul 09
0
OpenSSH 2.1.1p2: /etc/nologin handling and related stuff
Attached is a patch to be applied with GNU patch -p0, notice that
configure needs to be regenerated.
The patch addresses the following annoyances:
* On AIX there is a signal called SIGDANGER which is sent to all
processes when the machine runs low on virtual memory. This patch
makes sure that this signal is ignored, because the default on older
AIX releases is to kill the running process
2000 Feb 27
0
[PATCH] Fix login.conf, expiration, BSD compatibility in OpenSSH
This patch revive almost all login.conf and password/account expiration
features, makes OpenSSH more FreeBSD login compatible and fix non-critical
memory leak.
Please review and commit.
--- sshd.c.old Fri Feb 25 08:23:45 2000
+++ sshd.c Sun Feb 27 02:53:33 2000
@@ -37,9 +37,8 @@
#endif /* LIBWRAP */
#ifdef __FreeBSD__
-#include <libutil.h>
-#include <syslog.h>
#define LOGIN_CAP
2010 Jan 11
2
/etc/nologin must be world-readable which is not totally clear
hi, the man page for sshd(1) says about /etc/nologin: "The file
should be world-readable". However, nologin has no effect if it's not
readable by the connecting user:
if (pw->pw_uid)
f = fopen(_PATH_NOLOGIN, "r");
if (f) {
/* /etc/nologin exists. Print its contents and exit. */
...
...
return(254)
if root has a
2002 Feb 04
0
[Bug 101] New: session.c modifications for correct UNICOS behavior
http://bugzilla.mindrot.org/show_bug.cgi?id=101
Summary: session.c modifications for correct UNICOS behavior
Product: Portable OpenSSH
Version: 3.0.2p1
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
2002 Mar 21
0
[Bug 178] New: Content of /etc/nologin isn't shown to users, fix triggers probably AIX bug
http://bugzilla.mindrot.org/show_bug.cgi?id=178
Summary: Content of /etc/nologin isn't shown to users, fix
triggers probably AIX bug
Product: Portable OpenSSH
Version: 3.1p1
Platform: PPC
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo:
2003 Jul 05
0
[PATCH] Replace AIX loginmsg with generic Buffer loginmsg
Hi All.
I've decided to try to merge the -Portable parts of the password expiry
patch (see bug #14) that do not depend on the OpenBSD change in bug #463.
The attached patch is the first step in this process. It removes the
AIX-specific "char *aixloginmsg" and replaces it with a platform-neutral
"Buffer loginmsg". I think this is worth having in -Portable even if it
2003 Oct 06
2
samba as PDC in FreeBSD
Hello all, I've set up samba as a PDC in FreeBSD 5.1-release. I seemed to
have no problems joining my computer to the domain as it said "Welcome to
the domain" but when I try and log in it says it can't contact the domain
controller or the domain account doesn't exist. Can anyone offer any help on
how to fix this?
Here is my smb.conf.
Kind regards,
Elvar
[global]
2004 Jun 12
2
SID-UID mapping issue on Samba 3.0.4 in an AD Domain
I have problems with SID to UID mapping using winbind on a FreeBSD 5.2/Samba
3.0.4
as a member server of a Win2k domain controller. I use heimdal-0.6.1 for
kerberos.
I would like my XP machines in the domain to use the share with the user
accounts
defined in Active Directory.
At a first glance it seems to work: the connection to the share succeeds
without a
prompt for a password. Users may
2000 Aug 30
0
/etc/nologin.allow
Here's a patch for a feature I'm used to having in the old commercial ssh.
It checks for usernames the file /etc/nologin.allow when /etc/nologin is in
place, and lets the users mentioned in /etc/nologin.allow in regardless of
/etc/nologin. This is very usefull for remote administration of servers.
Please consider applying this.
-jf
-------------- next part --------------
---
2018 Nov 29
2
Where to implement user limit settings ?
Hello,
I'm trying to implement setting of user limits (ulimit) in sshd. I'm
not using PAM so I need it in the sshd itself. The task is very simple -
just to put one line calling setup_limits(pw); and link with -lshadow.
But the problem is, where to put this line. I did it in session.c,
in do_child(), like this:
#ifdef HAVE_OSF_SIA
session_setup_sia(pw, s->ttyfd == -1 ? NULL
2006 Aug 29
1
member server can't authenticate users?
Hey List-
I've got 2 samba servers.
PDC: FreeBSD 5.4; samba: 3.0.23 ? name: bugs
member server: FreeBSD 6-stable; samba: 3.0.23 ? name: daffy
note: config files are at the bottom of the email
The PDC was running an older version, but I just upgraded and it didn't fix
the below issue. The member server was running fine with the old smb.conf
file, but I rebuilt the server and now it
2006 Oct 15
1
Authenticating dovecot against Active Directory using bsdauth and login_ldap
All,
I'm working in a multi-platform environment where user accounts are
already held in Active Directory. I'm been trying to setup dovecot to
perform user authentication against Active Directory using ldap.
My Environment is:
Platform OpenBSD 3.9
Dovecot Version 1.0.rc7
Active Directory Windows 2003
The approach I've taken (being the only one I was able to
2005 Apr 08
0
windows copy versus move
Running 3.0.4 on FreeBSD 5.2.1...
I have two directories...
drwxrwxr-x root data_current /usr/vol1/current
drwxrwx--- root data_current /usr/vol1/hold
If a file is in /usr/vol1/hold with the following
attributes...
-rwxrwx--- root data_hold file1
...and a user MOVES it to /usr/vol1/current it
has the following attributes...
-rwxrwx--- root data_hold file1
...if the user COPIES
2001 Jan 20
1
/etc/nologin and Solaris PAM bug
My apologies if this has already been discussed. I looked through the
mailing list archives and couldn't see any mention of this problem. I
compiled and installed openssh-2.3.0p1 on a sparc running SunOS 5.7, and
while I was testing it to make sure everything was working properly, I
noticed that when I used PAM to authenticate, rather than /bin/login, sshd
was not honoring /etc/nologin.
I
2004 Apr 27
1
getent shows only local information
Hello
I have installed Redhat Linux 9 and Samba 3.0.2a from the Source.
I have two Win2003 server for the domain "sambadomain.local":
PDC: rootserver
10.10.1.1 Subnet 255.255.0.0
DNS-Master: dnsserver
10.10.1.2 Subnet 255.255.0.0
Runs also dhcp and wins
I made the references to these two Servers (DNS, DHCP) in my Linux-Server.
Linux-Server: samba
10.10.1.4 Subnet 255.255.0.0
2002 Jun 25
0
[Bug 298] New: sshd fails to set user context, preventing all logins, also setgroups is failing
http://bugzilla.mindrot.org/show_bug.cgi?id=298
Summary: sshd fails to set user context, preventing all logins,
also setgroups is failing
Product: Portable OpenSSH
Version: -current
Platform: ix86
OS/Version: BSDI
Status: NEW
Severity: major
Priority: P2
Component: sshd
2017 Feb 06
2
Regular users can't log in to Samba AD DC from Windows
On 02/06/2017 11:48, Rowland Penny via samba wrote:
> On Mon, 6 Feb 2017 11:11:09 +0200
> Alnis Morics via samba <samba at lists.samba.org> wrote:
>
>> Thank you, Rowland, for the reply.
>>
>
>> And the nss tests as per Wiki seem to pass:
>>
>
>>
>> # getent passwd Administrator
>>