search for: user_list

Displaying 20 results from an estimated 37 matches for "user_list".

2006 Mar 13
3
problem updating mulitple divs with ajax
i''m having some issues updating multiple divs via ajax. perhaps someone can lend some assistance. i''ve got 2 divs: user_list and user_form. when a person clicks the "edit this user" or "add new user" link the user_form div is updated via an ajax call and the form is shown in the user_form div. this form is a remote form. it submits to either the update or create action in the admin/users controller...
2017 Feb 09
5
Users list and the date the password will expire
...nt $2}') because, 'wbinfo -u' gives you 'DOMAIN\username' It looks like for some reason this is failing, are you using 'dash' instead of 'bash' ? You could try adding 'echo "User: ${user}" ' above and below line 25 i.e. Change: for user in $user_list; do user=$(echo "${user}" | awk -F '\\' '{print $2}') To: for user in $user_list; do echo "User: ${user}" user=$(echo "${user}" | awk -F '\\' '{print $2}') echo "User: ${user}" break This should print the...
2017 Feb 08
4
Users list and the date the password will expire
...uot;basedn" search parameter. Time conversion methods are taken from here: http://meinit.nl/convert-active-directory-lastlogon-time-to-unix-readable-time Ole -- #!/bin/sh max_pwAge=`samba-tool domain passwordsettings show | grep "Maximum password age" | tr -dc '0-9'` user_list=`wbinfo -u` basedn="OU=*,DC=*,DC=*,DC=*" for user in $user_list; do set_date=`ldbsearch -H /usr/local/samba/private/sam.ldb -s sub -b $basedn cn=$user | grep pwdLastSet | tr -dc '0-9'` if [ $set_date ] && [ $set_date -gt 1 ]; then...
2006 Apr 07
1
changing visual_effect defaults
what is the correct syntax for changing an effect like :highlight? i tried looking through the api, and found it, but i can''t seem to get it right. i want to change the start color of visual_effect(:highlight, ''user-list''). i tried visual_effect(:highlight, ''user-list'', :startcolor = ''#990000'') and several other variations of
2017 Feb 09
3
Users list and the date the password will expire
...N=$(ldbsearch -H "${LDBDB}" -b "" -s base defaultNamingContext | grep 'defaultNamingContext' | sed 's|defaultNamingContext: ||') > if [ -z "${domainDN}" ]; then > echo "Could not obtain AD rootDSE" > exit 1 > fi > > user_list=$(wbinfo -u) > > for user in $user_list; do > user=$(echo "${user}" | awk -F '\\' '{print $2}') > user_expire_date=$(ldbsearch --url="${LDBDB}" -b "${domainDN}" -s sub "(&(objectCategory=person)(objectClass=user)(sAMAccoun...
2017 Feb 08
3
Users list and the date the password will expire
...me-to-unix-readable-time > > > > > > Ole > > > > > > > > > > -- > > > > #!/bin/sh > > > > max_pwAge=`samba-tool domain passwordsettings show | grep "Maximum > > password age" | tr -dc '0-9'` > > user_list=`wbinfo -u` > > > > basedn="OU=*,DC=*,DC=*,DC=*" > > > > for user in $user_list; do > > > > set_date=`ldbsearch -H /usr/local/samba/private/sam.ldb -s > > sub -b $basedn cn=$user | grep pwdLastSet | tr -dc '0-9'` > > > &g...
2006 Apr 06
3
sortable list not saving to database
i am trying to use a sortable list on my app. i used the chapter in Rails recipes as a reference on how to do it. i have the following code in my controllerr: def sort @user_list = User.find(params[:id]) @user_list.tasks.each do |task| task.position = params[''user-list''].index(task.id) + 1 task.save end render :nothing => true end and in my view, i have: <h2><%= @user_list.full_name %>''s Tasks</h2>...
2006 Jul 27
3
How do I update a div''s content in the controller?
Without using an RJS, is there a call I can do in the controller? All I want to do is this statement, but in the controller: new Effect.toggle(''notifier_nav'',''appear'', {duration:12.0}); Thanks, Ben Lisbakken -- Posted via http://www.ruby-forum.com/.
2006 Aug 27
3
VSFTPD problem ?
...to the home directory, I have installed the same config files to a second server (again Centos V4.x) and have setup the same user on the second server but the user does not get chrooted to the home directory but is placed in /var/ftp/pub and cannot upload file. The files I copied are:- /etc/vsftpd.user_list /etc/vsftpd /etc/vsftpd/vsftpd.conf /etc/vsftpd.ftpusers /etc/vsftpd.chroot_list Any clues ? Thanks Denis
2012 May 28
1
rendering a partial inside another using render_to_string and (:formats) in controller
...ot;, :next_label => "#{image_tag ''icons/ control.png'', :class => "next-button link-button link-button-small"}" %> </div> ============================================================ THE EVIL PARTIAL (users/user_list): ============================================================ <div class="list-table" data-source="<%= search_enterprise_users_path(@enterprise, :format => :html) %>"> <%= render( :partial => ''user'', :collection =&g...
2018 Aug 09
2
xfs quota question
Can I go to an existing xfs file system, and apply a soft quota to each user on it? If I do, can I then run a report, and see who's using how much, or does it only apply to files created after the quotas are applied? mark
2018 Aug 09
1
xfs quota question
...all users (-d flag), > except users who have their limits existing already (usually ones who > preformed fs operations). > > For those who already have some limits set you can still can change > these limits, but with individual command, say in the loop, like: > > for i in `cat user_list`; \ do xfs_quota -x -c "limit bsoft=8g bhard=10g > $i; \ > done > > I hope, this helps. Will that work if I do a mount -o remount? mark
2017 Feb 08
0
Users list and the date the password will expire
...from here: > http://meinit.nl/convert-active-directory-lastlogon-time-to-unix-readable-time > > > Ole > > > > > -- > > #!/bin/sh > > max_pwAge=`samba-tool domain passwordsettings show | grep "Maximum > password age" | tr -dc '0-9'` > user_list=`wbinfo -u` > > basedn="OU=*,DC=*,DC=*,DC=*" > > for user in $user_list; do > > set_date=`ldbsearch -H /usr/local/samba/private/sam.ldb -s sub > -b $basedn cn=$user | grep pwdLastSet | tr -dc '0-9'` > > if [ $set_date ] && [ $se...
2017 Feb 09
0
Users list and the date the password will expire
...t;>> >>> Ole >>> >>> >>> >>> >>> -- >>> >>> #!/bin/sh >>> >>> max_pwAge=`samba-tool domain passwordsettings show | grep "Maximum >>> password age" | tr -dc '0-9'` >>> user_list=`wbinfo -u` >>> >>> basedn="OU=*,DC=*,DC=*,DC=*" >>> >>> for user in $user_list; do >>> >>> set_date=`ldbsearch -H /usr/local/samba/private/sam.ldb -s >>> sub -b $basedn cn=$user | grep pwdLastSet | tr -dc '0-9...
2017 Feb 09
0
Users list and the date the password will expire
...amdom,DC=example,DC=com domainDN=$(ldbsearch -H "${LDBDB}" -b "" -s base defaultNamingContext | grep 'defaultNamingContext' | sed 's|defaultNamingContext: ||') if [ -z "${domainDN}" ]; then echo "Could not obtain AD rootDSE" exit 1 fi user_list=$(wbinfo -u) for user in $user_list; do user=$(echo "${user}" | awk -F '\\' '{print $2}') user_expire_date=$(ldbsearch --url="${LDBDB}" -b "${domainDN}" -s sub "(&(objectCategory=person)(objectClass=user)(sAMAccountName=$user))" m...
2017 Feb 09
1
Users list and the date the password will expire
On 02/09/2017 11:25 AM, Ole Traupe via samba wrote: > Exactly, and got reminded that I don't have to grep anything but can ask > for specific parameters. Been a while that I used ldbsearch. ;) > So there will be an updated version of your script? :-) Your script is something we could use as well, appreciated! MJ
2017 Feb 09
0
Users list and the date the password will expire
...ot; -b "" -s base defaultNamingContext >> | grep 'defaultNamingContext' | sed 's|defaultNamingContext: ||') >> if [ -z "${domainDN}" ]; then >> echo "Could not obtain AD rootDSE" >> exit 1 >> fi >> >> user_list=$(wbinfo -u) >> >> for user in $user_list; do >> user=$(echo "${user}" | awk -F '\\' '{print $2}') >> user_expire_date=$(ldbsearch --url="${LDBDB}" -b "${domainDN}" >> -s sub >> "(&(objectCategory...
2017 Feb 09
0
Users list and the date the password will expire
...; gives you 'DOMAIN\username' > > It looks like for some reason this is failing, are you using 'dash' > instead of 'bash' ? > > You could try adding 'echo "User: ${user}" ' above and below line 25 > > i.e. Change: > > for user in $user_list; do > user=$(echo "${user}" | awk -F '\\' '{print $2}') > > To: > > for user in $user_list; do > echo "User: ${user}" > user=$(echo "${user}" | awk -F '\\' '{print $2}') > echo "User: ${us...
2006 Jan 24
1
Pagination
Hello, maybe that I''m a stupid, but I don''t know how I can working with pagination. In all examples is written (for example) next: def user_list @user_pages, @users = paginate(:users, :order_by => ''name'') end So, it''s OK (as a scaffold) for all set of users. But I need a little other functionality. For example I need paginate only a little bit of this set. I have sort user by their function in laboratory a...
2005 Jun 23
1
Asterisk @ Home setup & Doc
As a newbie to Asterisk, I'm in love. There is no information discussing the way to use the FTP program vsftpd which is need for phone configurations. So far I've been able to add a user with useradd and add that user to the VSFTPD.USER_LIST and now I can FTP to my Asterisk@home server but need the layout to configure both Polycom phones and Cisco phones if anyone can help? Is there any way an outlook client from an XP station can use their contact list to dial the phone. I read in other posts that there is a way to force a phone off...